package com.yzyz.dao;

import java.util.List;

import com.yzyz.bean.hotel.HotelBean;
import com.yzyz.bean.scenic.PictureBean;

/**
 * 酒店数据库操作对象
 * @author david.sun
 * @date 2010-6-4
 */
public interface IHotelDao extends IBaseDao {
	
	List<HotelBean> paginate(int start, int limit);
	
	int savePicture(PictureBean picture);
	
	/**
	 * 保存景区与酒店之间的关系
	 * @param hotelId
	 * @param scenicId
	 * @return
	 */
	int saveScenic(int hotelId, int scenicId);
	
	List<HotelBean> paginate(int start, int limit, String hotelName, String scenicName);
}
